package com.mycompany.app.hr.eleave.service;

import java.util.Date;

public interface ILeavePeriodService {
    
    /**
     * Leave period can not overlap with any other [valid] leave.
     * @param gid
     * @param fromDate
     * @param endDate
     * @return
     */
    public boolean isOverlap(String gid, Date fromDate,Date endDate);

}
